Optimal. Leaf size=35 \[ \frac {b (d x)^{2+m}}{d^2 (2+m)}+\frac {c (d x)^{3+m}}{d^3 (3+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {14}
\begin {gather*} \frac {b (d x)^{m+2}}{d^2 (m+2)}+\frac {c (d x)^{m+3}}{d^3 (m+3)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {align*} \int (d x)^m \left (b x+c x^2\right ) \, dx &=\int \left (\frac {b (d x)^{1+m}}{d}+\frac {c (d x)^{2+m}}{d^2}\right ) \, dx\\ &=\frac {b (d x)^{2+m}}{d^2 (2+m)}+\frac {c (d x)^{3+m}}{d^3 (3+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 25, normalized size = 0.71 \begin {gather*} x^2 (d x)^m \left (\frac {b}{2+m}+\frac {c x}{3+m}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 35, normalized size = 1.00
method | result | size |
gosper | \(\frac {\left (d x \right )^{m} \left (c m x +b m +2 c x +3 b \right ) x^{2}}{\left (3+m \right ) \left (2+m \right )}\) | \(35\) |
risch | \(\frac {\left (d x \right )^{m} \left (c m x +b m +2 c x +3 b \right ) x^{2}}{\left (3+m \right ) \left (2+m \right )}\) | \(35\) |
norman | \(\frac {b \,x^{2} {\mathrm e}^{m \ln \left (d x \right )}}{2+m}+\frac {c \,x^{3} {\mathrm e}^{m \ln \left (d x \right )}}{3+m}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 33, normalized size = 0.94 \begin {gather*} \frac {c d^{m} x^{3} x^{m}}{m + 3} + \frac {b d^{m} x^{2} x^{m}}{m + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.01, size = 39, normalized size = 1.11 \begin {gather*} \frac {{\left ({\left (c m + 2 \, c\right )} x^{3} + {\left (b m + 3 \, b\right )} x^{2}\right )} \left (d x\right )^{m}}{m^{2} + 5 \, m + 6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 105 vs.
\(2 (29) = 58\).
time = 0.13, size = 105, normalized size = 3.00 \begin {gather*} \begin {cases} \frac {- \frac {b}{x} + c \log {\left (x \right )}}{d^{3}} & \text {for}\: m = -3 \\\frac {b \log {\left (x \right )} + c x}{d^{2}} & \text {for}\: m = -2 \\\frac {b m x^{2} \left (d x\right )^{m}}{m^{2} + 5 m + 6} + \frac {3 b x^{2} \left (d x\right )^{m}}{m^{2} + 5 m + 6} + \frac {c m x^{3} \left (d x\right )^{m}}{m^{2} + 5 m + 6} + \frac {2 c x^{3} \left (d x\right )^{m}}{m^{2} + 5 m + 6} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.17, size = 56, normalized size = 1.60 \begin {gather*} \frac {\left (d x\right )^{m} c m x^{3} + \left (d x\right )^{m} b m x^{2} + 2 \, \left (d x\right )^{m} c x^{3} + 3 \, \left (d x\right )^{m} b x^{2}}{m^{2} + 5 \, m + 6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.19, size = 34, normalized size = 0.97 \begin {gather*} \frac {x^2\,{\left (d\,x\right )}^m\,\left (3\,b+b\,m+2\,c\,x+c\,m\,x\right )}{m^2+5\,m+6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________